On Optimal Solutions for the Bottleneck Tower of Hanoi Problem
نویسندگان
چکیده
We study two aspects of a generalization of the Tower of Hanoi puzzle. In 1981, D. Wood suggested its variant, where a bigger disk may be placed higher than a smaller one if their size difference is less than k. In 1992, D. Poole suggested a natural disk-moving strategy for this problem, but only in 2005, the authors proved it be optimal in the general case. We describe the family of all optimal solutions to this problem and present a closed formula for their number, as a function of the number of disks and k. Besides, we prove a tight bound for the diameter of the configuration graph of the problem suggested by Wood. Finally, we prove that the average length of shortest sequence of moves, over all pairs of initial and final configurations, is the same as the above diameter, up to a constant factor.
منابع مشابه
Explorations in 4-peg Tower of Hanoi
Finding an optimal solution to the 4-peg version of the classic Tower of Hanoi problem has been an open problem since the 19th century, despite the existence of a presumed-optimal solution. We verify that the presumed-optimal Frame-Stewart algorithm for 4-peg Tower of Hanoi is indeed optimal, for up to 20 discs. We also develop a distributed Tower of Hanoi algorithm, and present 2D and 3D repre...
متن کاملSolutions to the generalized Towers of Hanoi problem
The purpose of this paper is to prove the Frame-Stewart algorithm for the generalized Towers of Hanoi problem as well as finding the number of moves required to solve the problem and studying the multitude of optimal solutions. The main idea is to study how to most effectively move away all but the last disc and use the fact that the total number of moves required to solve the problem is twice ...
متن کاملTower of Hanoi - Wikipedia, the free encyclopedia
1 Origins 2 Solution 2.1 Simple solution 2.2 Recursive solution 2.3 Non-recursive solution 2.4 Binary solutions 2.5 Gray code solution 3 Long solutions 4 Graphical representation 5 Applications 6 Four pegs and beyond 6.1 Description of the presumed-optimal solution 6.2 Two stacks and more stacks 7 In popular culture 7.1 In video games 8 See also 9 Notes 10 External links 10.1 Online demonstrati...
متن کاملWhat is the least number of moves needed to solve the 4-peg Towers of Hanoi problem?
We prove that the solutions to the k-peg Tower of Hanoi problem given by Frame and Stewart are minimal. This paper solves the problem of finding the least number of moves needed to transfer a Tower of Hanoi of n disks, from an initial peg to another one of the k− 1 other pegs. This problem generalizes a well known puzzle proposed and solved in [5] for the case of three pegs. The generalization ...
متن کاملOn Bottleneck Product Rate Variation Problem with Batching
The product rate variation problem minimizes the variation in the rate at which different models of a common base product are produced on the assembly lines with the assumption of negligible switch-over cost and unit processing time for each copy of each model. The assumption of significant setup and arbitrary processing times forces the problem to be a two phase problem. The first phase determ...
متن کامل